package com.zat.mes.andrmes.dofun.main.adapter

import android.text.TextUtils
import android.view.View
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zat.mes.andrmes.BomNotifiBean
import com.zat.mes.andrmes.MachineWarnNotifiBean
import com.zat.mes.andrmes.R
import com.zat.mes.andrmes.data.BindMachineBean
import com.zat.mes.andrmes.data.DayPlanNotifBean

/**
 * @author zy
 * @date :2020-07-14 18:12
 * @description:物料通知
 */
class MachineWarnNotifiAdapter(layoutResId: Int) :
    BaseQuickAdapter<MachineWarnNotifiBean, BaseViewHolder>(layoutResId) {
    override fun convert(helper: BaseViewHolder, item: MachineWarnNotifiBean) {

        helper.setText(R.id.tvMonthBom,"报警人："+item?.sendEmpName)
            .setText(R.id.tvOrderStyleBom, "机器编码："+item?.machineName)
            .setText(R.id.tvDateBom, ""+item?.remark1)



    }


}